package cn.aeolia.service;

import cn.aeolia.dao.EmployeeDao;
import cn.aeolia.pojo.Employee;

import java.util.List;

/**
 * 员工service
 * @author 63495
 */
public interface EmployeeService {

    /**
     * 查询所有员工
     * @return
     */
    List<Employee> getAllEmployee();

    /**
     * 根据id查询员工
     * @param id
     * @return
     */
    Employee findEmployeeById(Integer id);

    /**
     * 添加一个员工
     */
    void addEmployee();

    /**
     * 添加一群员工
     * @param employees
     */
    void addEmployees(List<Employee> employees);

    /**
     * 删除一个员工
     * @param employee
     */
    void deleteEmployee(Employee employee);

    /**
     * 删除一群员工
     * @param employees
     */
    void deleteEmployees(List<Employee> employees);
}
